import router from '@/router';
export function forwardTo(avg) {
  switch (avg) {
    case '/unit':
      router.push('/unit');
      break
    case '/company':
      router.push('/company');
      break
    case '/expense':
      router.push('/expense');
      break
    case '/dispatch':
      router.push('/dispatch');
      break
    case '/cars':
      router.push('/cars');
      break
  }
}